home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive / 000020_te@informatik.uni-hannover.de_Fri Mar 3 18:42:45 1995.msg < prev    next >
Internet Message Format  |  1995-03-08  |  2KB

  1. Received: from wega.informatik.uni-hannover.de by cs.umb.edu with SMTP id AA24411
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Fri, 3 Mar 1995 11:44:47 -0500
  3. Received: from regulus.informatik.uni-hannover.de. by wega.informatik.uni-hannover.de (4.1/SMI-4.1-main/dbis)
  4.     id AA13533; Fri, 3 Mar 95 17:42:45 +0100
  5. Date: Fri, 3 Mar 95 17:42:45 +0100
  6. From: te@informatik.uni-hannover.de (Thomas Esser)
  7. Message-Id: <9503031642.AA13533@wega.informatik.uni-hannover.de>
  8. To: christof@neuroinformatik.ruhr-uni-bochum.de
  9. Subject: Re:  compressed images in dvips
  10. Cc: tex-k@cs.umb.edu
  11.  
  12. > The idea with the backtick should do, but doesn't:
  13. >      \epsffile[10 10 100 100]{"'gunzip image.eps.gz"}
  14.  
  15. I read the docs for the graphics package and tried the following:
  16.  
  17.     \documentclass{article}
  18.     \usepackage{epsfig}
  19.     \DeclareGraphicsRule{.ps.foo}{eps}{}{`zcat #1}
  20.     \begin{document}
  21.     \epsffile[10 10 100 100]{xx.ps.foo}
  22.     \epsffile[10 10 100 100]{xx.ps.gz}
  23.     \end{document}
  24.  
  25. It works file with both: LaTeX and dvips:
  26.  
  27. LaTeX run:
  28. This is TeX, Version 3.1415 (C version 6.1)
  29. ...
  30. LaTeX2e <1994/12/01> patch level 1
  31. ...
  32. (/usr/local/teTeX-0.3/texmf/tex/latex/graphics/dvips.def)))) (x.aux)
  33. <`zcat xx.ps.foo> <`gunzip -c xx.ps.gz> [1] (x.aux) )
  34. Output written on x.dvi (1 page, 356 bytes).
  35. ...
  36.  
  37. dvips run:
  38. This is dvipsk 5.58f Copyright 1986, 1994 Radical Eye Software
  39. ' TeX output 1995.03.03:1735' -> xxx
  40. <tex.pro><special.pro>. [1<zcat xx.ps.foo><gunzip -c xx.ps.gz>] 
  41.  
  42. Regards,
  43.  
  44.     Thomas Esser